package com.itheima.demo.Demo06;

public class Ticket1Cs {
    public static void main(String[] args) {
        Ticket1 t=new Ticket1();

        Thread TT=new Thread(t);
        TT.setName("妹爷");
        TT.start();
        Thread t1=new Thread(t);
        t1.setName("茅台");
        t1.start();
        Thread t2=new Thread(t);
        t2.setName("蘑菇头");
        t2.start();

    }
}
